const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  refreshToken: state => state.user.refreshToken,
  realName: state => state.user.realName,
  avatar: state => state.user.avatar,
  deptName: state => state.user.deptName,
  name: state => state.user.name,
  phone: state => state.user.phone,
  jobName: state => state.user.jobName,
  gender: state => state.user.gender,
  email: state => state.user.email,
  roleKey: state => state.user.roleKey,
  permissionRoutes: state => state.menu.routes
}
export default getters
